/*
{
"状态":1,
"名称":"更新-数据库主表信息",
"作者":"陈泽椿",
"创建时间":"2018-06-30",
"功能":"更新-数据库主表信息",
"log": [
	{"date":"06-01" , "dev" :"hzhh" , "content" : ""}
]
}
*/
declare @table_key int,@table_name varchar(100),@describe varchar(100),@remarks varchar(100)
set @table_key = '{table_key}'
set @table_name = '{table_name}'
set @describe = '{describe}'
set @remarks='{remarks}'

--校验信息
if isnull(@table_name,'')=''
begin 
	RAISERROR ('SQL:数据表名称不允许为空', 16 ,1 ) ; 
	return 
end 



update [dbo].[y_table] set
[table_name] = @table_name ,
[describe] = @describe,
[remarks] = @remarks 
where [table_key] = @table_key
